SureCart\Controllers\Rest\CheckoutsController A

Total Complexity 62
Dependencies 11
Dependents 0
Total lines 456
Lines of code 215
Logical lines of code 120
Comment lines 190
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
validateProductId()
A
52 8 22
confirm()
A
49 7 34
manuallyPay()
S
54 6 22
maybeSetUser()
S
56 5 18
validate()
S
57 5 15
edit()
S
60 4 12
maybeValidateLoginCreds()
S
65 4 9
finalize()
S
59 3 15
validateFormId()
S
66 3 7
validateFinalizeRequest()
S
65 3 9
maybeLoginUser()
S
64 2 11
middleware()
S
73 2 4
declineUpsell()
S
68 2 7
offerUpsell()
S
68 2 7
offerBump()
S
68 2 7
cancel()
S
68 2 7
linkCustomerId()
S
70 1 6
getFormMode()
S
80 1 3